package com.example.entity.vo;

import com.example.entity.SysRole;
import lombok.Data;

import java.util.List;

/**
 * @author ：songxusheng
 * @description：
 * @date ：Created in 2022/5/17 14:56
 * @version:
 */
@Data
public class UserVO {
    private Integer id;
    private String username;
    private String avatar;
    private List<SysRole> roles;

    @Override
    public String toString() {
        return "UserVO{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", avatar='" + avatar + '\'' +
                ", roles=" + roles +
                '}';
    }
}
